package top.yxf.spring.beans.factory;

import top.yxf.spring.beans.BeansException;

/**
 * @author xs.wu
 * Defines a factory which can return an Object instance (possibly shared or independent) when invoked
 */
public interface ObjectFactory<T> {

    T getObject() throws BeansException;
}
